/**
 * output package name
 */
package com.kingdee.eas.fi.fa.manage;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class FaSplitTypeEnum extends IntEnum
{
    public static final int BY_AMOUNT_VALUE = 1;
    public static final int BY_QUANTITY_VALUE = 2;

    public static final FaSplitTypeEnum BY_AMOUNT = new FaSplitTypeEnum("BY_AMOUNT", BY_AMOUNT_VALUE);
    public static final FaSplitTypeEnum BY_QUANTITY = new FaSplitTypeEnum("BY_QUANTITY", BY_QUANTITY_VALUE);

    /**
     * construct function
     * @param integer faSplitTypeEnum
     */
    private FaSplitTypeEnum(String name, int faSplitTypeEnum)
    {
        super(name, faSplitTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static FaSplitTypeEnum getEnum(String faSplitTypeEnum)
    {
        return (FaSplitTypeEnum)getEnum(FaSplitTypeEnum.class, faSplitTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static FaSplitTypeEnum getEnum(int faSplitTypeEnum)
    {
        return (FaSplitTypeEnum)getEnum(FaSplitTypeEnum.class, faSplitTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(FaSplitTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(FaSplitTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(FaSplitTypeEnum.class);
    }
}